-- GENERATED SPELL FOR [Scarred Crag Boar] --


function spell0_1689(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_1689', 3000, 1)
end

function Sorts_1689(pUnit, Event)
local choix_sorts_1689 = math.random(0, 0)
if choix_sorts_1689 == 0 then
pUnit:RegisterEvent('spell0_1689', 1, 1)
end
end

function mob1689_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1689', math.random(1500, 3000), 1)
end

function mob1689_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1689_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1689_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1689, 1, 'mob1689_Action')
RegisterUnitEvent(1689, 2, 'mob1689_Leave')
RegisterUnitEvent(1689, 3, 'mob1689_Kill')
RegisterUnitEvent(1689, 4, 'mob1689_Die')
